<h1>Advanced Search</h1>
<p align="right"><a href="?page=search">Basic Search</a><hr></p>
<form action="?page=submit_search_advance" method="post" name="" id="">

	<!--
<form action="test1.php" method="post" name="" id="">
-->
  <table width="70%" border="0" align="center" cellpadding="4" cellspacing="0">
  <tr> 
      <td>ID Type</td>
     <td>
     	<select name="cmbIdType">
		<?
			print "<option value=\"Select ID Type\">";
			populateDropDownListBoxes("er_identification_type",1, "identification_type");
		?>
			<!--<option value="NOT">NOT-->
		</select>
	  </td>
	  <td>
	    <select name="operatorReference">
			<option value="OR">OR
			<option value="AND">AND
			<!--<option value="NOT">NOT-->
		</select>
	  </td>
  </tr>
  	<tr> 
      <td>Reference No.</td>
      <td><input type = "text" name = "txtNumber" size="20"></td>
      <?
      //$clientID = substr($cmbIdType, 0, 3) . $txtNumber;
      ?>
      <td>
     	<select name="operatorFirstName">
			<option value="OR">OR
			<option value="AND">AND
			<!--<option value="NOT">NOT-->
		</select>
	  </td>
    </tr>
    <tr>
  	<tr> 
      <td>Client First Name</td>
      <td><input type = "text" name = "clientFirstName" size="20"></td>
      <td>
     	<select name="operatorLastName">
			<option value="OR">OR
			<option value="AND">AND
			<!--<option value="NOT">NOT-->
		</select>
	  </td>
    </tr>
    <tr>
    <tr> 
      <td>Client Last Name</td>
      <td><input type = "text" name = "clientLastName" size="20"></td>   
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><input type="submit" name="Submit" value="Search Client"></td>
    </tr>
  </table>
</form>